-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add auxilery memory address verification #418
Conversation
is there a reason for this to be a power of 2? Code quote: N_SPLIT_CHUNKS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed all commit messages.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @ohad-starkware)
336a3a8
to
7a68834
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @ilyalesokhin-starkware and @ohad-starkware)
stwo_cairo_prover/crates/prover/src/components/memory/memory_address_to_id/component.rs
line 29 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
is there a reason for this to be a power of 2?
no :)
7a68834
to
922c0c0
Compare
Suggestion: (1 << claim.memory_address_to_id.log_size) * MEMORY_ADDRESS_TO_ID_SPLIT
<= (1 << LOG_MEMORY_ADDRESS_BOUND) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @ilyalesokhin-starkware and @ohad-starkware)
stwo_cairo_prover/crates/prover/src/cairo_air/mod.rs
line 135 at r2 (raw file):
assert!( 1 << claim.memory_address_to_id.log_size <= (1 << LOG_MEMORY_ADDRESS_BOUND) / MEMORY_ADDRESS_TO_ID_SPLIT
Done.
922c0c0
to
45ffcdf
Compare
45ffcdf
to
c4387f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 3 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ohad-starkware)
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)